HTML by Wendy Willard

HTML by Wendy Willard

Author:Wendy Willard [Willard, Wendy]
Language: eng
Format: epub
Tags: -
Publisher: McGraw-Hill Education
Published: 2012-02-22T05:00:00+00:00


Table 9-5 Attributes for the track Element

Here’s a code example showing tracks for subtitles in two different languages:

WebVTT Tracks

Web Video Text Tracks, or WebVTT for short, are the new standard for multimedia track files. Essentially, a track file is a series of cues, which are each composed of a time stamp and the text to be displayed onscreen. Here’s an example of what a small portion of a WebVTT file might look like:

Figure 9-4 shows how the first bit of text translates when displayed in Chrome. Note it is not possible to test tracks like this locally on your computer. In other words, you must upload them to a live web server in order to test the captions. Eventually, when this element garners wider browser support, users will be able to select between the available language tracks.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.